#include <stdio.h>

int main(int argc, char *argv[])
{
	int t, n;
	int i, j, flg, tmp;

	scanf("%d", &t);
	for (i=0; i<t; i++) {
		scanf("%d", &n);

		flg = 1;
		for (j=0; j<n; j++) {
			scanf("%d", &tmp);
			if (1 == tmp && j != n-1) {
				flg = flg * -1;
			}
		}
		if (-1 == flg) {
			printf("Poor!\n");
		} else {
			printf("Lucky!\n");
		}
	}


	return 0;
}
